/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.doctor.netHosptial.service;

import com.jims.master.common.service.CrudService;
import com.jims.master.modules.doctor.netHosptial.dao.NetTestItemsDao;
import com.jims.master.modules.doctor.netHosptial.entity.NetTestItems;
import com.jims.master.modules.doctor.netHosptial.entity.NetTestMaster;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 检验主记录子表Service
 * @author qlx
 * @version 2016-09-10
 */
@Service
@Transactional(readOnly = true)
public class NetTestItemsService extends CrudService<NetTestItemsDao, NetTestItems> {


    /**
     * 获得患者未传送的信息
     * @param patientId
     * @return
     */
    public List<NetTestItems> getInfoToSend(NetTestMaster netLabTestMaster){
        return dao.getInfoToSend(netLabTestMaster);
    };

    /**
     * 获得检验单的检验项目
     * @param-examNo
     * @return
     */
    public List<NetTestItems> getByTestNo(NetTestMaster netLabTestMaster){
        return dao.getByTestNo(netLabTestMaster);
    }
}